package com.pfizer.pfizerExpertForPad;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;


public class DataSyncReceiver extends BroadcastReceiver {
	static final String ACTION_START_DATASYNC = "com.pfizer.pfizerExpertForPad.ACTION_START_DATASYNC";
	@Override
	public void onReceive(Context context, Intent intent) { // 重写onReceive方法
		if (intent.getAction().equals(ACTION_START_DATASYNC)) {
			context.startService(new Intent(context, DataSyncService.class));
		}
	}
}
